package com.alibaba.user.service;

import com.alibaba.basic.service.IBaseService;
import com.alibaba.user.domain.User;
import com.alibaba.user.dto.EmailDto;
import com.alibaba.user.dto.UserDto;

import javax.mail.MessagingException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Amber
 * @since 2022-06-01
 */
public interface IUserService extends IBaseService<User> {

    void phoneRegister(UserDto userDto);

    void emailRegister(EmailDto emailDto) throws MessagingException;

    void active(Long id);
}
